home *** CD-ROM | disk | FTP | other *** search
/ Amiga Packmags / NewsFlash - Issue 10 (1990)(UGA - NewsFlash UK)(Disk 1 of 2)[a3].zip / NewsFlash - Issue 10 (1990)(UGA - NewsFlash UK)(Disk 1 of 2)[a3].adf / s / startup-sequence < prev   
Text File  |  1996-12-24  |  3KB  |  94 lines

  1. ;                              
  2. ;        Startup Sequence For Newsflash Issue 10
  3. ;        =======================================
  4. ;
  5. ;        Dedicated to Karen in the hope that such a pitiful
  6. ;        gesture may succeed in leading to future glee  8^)
  7. ;
  8. ;  
  9. ;  First we had better check that there are no nasty virii lurking in
  10. ;  the machine.. we can run PvLs handy little virus hunter/killer.
  11. ;  If any virii is found in memory then you are told what type..
  12.  
  13. vhunt 
  14.  
  15.  
  16. ;  To neaten things up a little we black out the Cli display, and it is
  17. ;  lit back up later after showing the picture or setting the prefs..
  18. black
  19.  
  20. pic/nf10.pic
  21.  
  22.  
  23. ;  Now to change the font from that horrible Topaz font to a much cleaner
  24. ;  neater font (Siesta)... Plus it also speeds Text Display up! 8^)
  25.  
  26. ff siesta.font
  27.  
  28. ;  More neatness touches, this one loses the edge border and makes the 
  29. ;  overall appearance more enhanced and professional (in my opinion).
  30.  
  31. fb
  32.  
  33. ;  This is a cute trick, using the echo command and some control characters
  34. ;  we turn off the cursor and text colors, purely for presentation.
  35. ;  The Control characters will not be shown via PPmore though.
  36.  
  37. echo "›0 p"
  38.  
  39. set devs/system-configuration
  40.  
  41. ;  Restore the colours!
  42.  
  43. Type message
  44.  
  45.  
  46. ;  Whilst displaying the message, its time to transfer the used commands 
  47. ;  into a RAM: disk so that Newsflash operation is speeded up even further.
  48. ;  First we copy the contents of the S {Script} drawer containing all the
  49. ;  menus for the magazine...
  50.  
  51. copy s           to ram:
  52.  
  53. ;  Now we copy all the utility commands used during magazine operation..
  54.  
  55. copy c/ppmore    to ram:
  56. copy c/run       to ram:
  57. copy c/set       to ram:
  58. copy c/echo      to ram:
  59. copy c/copy      to ram:
  60.  
  61. ;  With that done its time to tell the Amiga to look for the C commands and
  62. ;  the Script files on the ram disk... This is done with the ASSIGN command
  63. ;  which gives a new 'logical device' for the Amiga to look at.. making the
  64. ;  Amiga get its commands from the ram disk has many advantages, the best
  65. ;  obviously being the reduced disk-access and far better speed of operation.
  66. ;  We have to tell the Amiga where the ASSIGN command is though due to us
  67. ;  moving the location of the C directory..
  68.  
  69. df0:c/assign c: ram:
  70. df0:c/assign s: ram:
  71.  
  72. ;  Ok, the Amiga knows where to look.. Lets get the show on the road..
  73.  
  74.  
  75. prog/zoomwindows quiet
  76. ; Another great utility to improve window display, enjoy it, special
  77. ; thanks Dr Maybe from Holland....
  78.  
  79. ; Lets run the Magazine routine itself..
  80.  
  81. df0:c/powermenu 
  82.  
  83. ;  There! All done, finished and executed.. Did you follow all that??
  84. ;  Sequence edited and scripted by Martyn [Spadge] in Feb 1990
  85. ;  From now on all startup-sequences will be written this way to show
  86. ;  new-users and beginners how things are done.. its not meant to be
  87. ;  a tutorial - just a high-level commentry of whats happening.
  88.  
  89. ;  This disk is distributed VIRUS FREE, if the Virus Hunter used on this
  90. ;  disk shows a Virus was present then you need a killer if you havent 
  91. ;  already got one. Contact us for the latest virus killers..
  92. ;  Thanks to the Pseudo Ops for sending their excellent killers.
  93.  
  94.